<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>第四个页面</title>
</head>
<body>
<a href="three.html">去第三个页面</a>
<a href="one.html">去第一个页面</a>
<button on onclick="next()">下一个页面</button>
<button on onclick="front()">上一个页面</button>
<script>
    function next(){
        history.forward();
    }
    function front(){
        history.back();
    }
</script>
</body>
</html>